package com.hksj.Intelligentmanagement.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * @Author zengke
 * @ClassName ShiftsEntity
 * @Date 2023/3/31 15:27
 * @Version 1.0
 */

@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
@TableName("b_shifts")
public class ShiftsEntity extends BaseEntity {

    //护士id
    @ApiModelProperty("护士id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)//忽略字段的非空判断,前端传来的是什么值,在数据库中更新时就变成什么值
    private String nurseId;

    //排班时间
    @ApiModelProperty("排班时间")
    @TableField(updateStrategy = FieldStrategy.IGNORED)//忽略字段的非空判断,前端传来的是什么值,在数据库中更新时就变成什么值
    private String scheduleTime;

    //班次id
    @ApiModelProperty("班次id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)//忽略字段的非空判断,前端传来的是什么值,在数据库中更新时就变成什么值
    private String schedulingId;

    //排班备注
    @ApiModelProperty("排班备注")
    @TableField(updateStrategy = FieldStrategy.IGNORED)//忽略字段的非空判断,前端传来的是什么值,在数据库中更新时就变成什么值
    private String description;

}
